sync cibuildwheel test env with uv#2913
Conversation
|
I wasnt able to run #2912 since the branch was not on the apache repo. Just pushed this branch to the apache repo and ran the nightly CI with the branch https://github.com/apache/iceberg-python/actions/runs/21004675670 |
|
Awesome, it worked https://github.com/apache/iceberg-python/actions/runs/21005261083 |
|
cc @nssalian |
|
Thanks for the fix @kevinjqliu . Looks good. |
|
Why do Wouldnt that differ vs the lockfile? I come from a mostly pdm background so unsure exactly whats happening but assuming the semantics are at least similar |
|
good point @jayceslesar let me try that |
This reverts commit 2be8927.
Fokko
left a comment
There was a problem hiding this comment.
Nice, thanks @kevinjqliu!
Thanks for fixing this, which is probably not the most fun thing to do. I left one comment, apart from that it looks good to me 👍
| "mypy-boto3-glue>=1.28.18", | ||
| "mypy-boto3-dynamodb>=1.28.18", | ||
| "pyarrow-stubs>=20.0.0.20251107", # Remove when pyarrow >= 23.0.0 https://github.com/apache/arrow/pull/47609 | ||
| "sqlalchemy>=2.0.18,<3", |
There was a problem hiding this comment.
I guess that this is for the SqlCatalog. Wouldn't it be cleaner to see if we can remove those direct imports (probably in the conftest.py)?
There was a problem hiding this comment.
yep it is for the SqlCatalog. Now that we have SqlCatalog in conftest.py, this is technically a new "dev dependency"
iceberg-python/tests/conftest.py
Lines 2965 to 2972 in 8e4d424
There was a problem hiding this comment.
Yes, but it isn't being used for this specific test:
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
There was a problem hiding this comment.
Once the Cython parser is out, we can rip all this out :D
|
Thanks for the review, everyone! |
Rationale for this change
Follow up to #2912
CI still fails with
https://github.com/apache/iceberg-python/actions/runs/21004478697/job/60383069033
This PR fixes syncs the env with uv so we dont need to explicitly specify the deps here
Are these changes tested?
Yes
https://github.com/apache/iceberg-python/actions/runs/21007310527
Are there any user-facing changes?